<template>
  <div>
    <publicPageVue v-if="Object.keys(pageSetting).length > 0" :json-obj="pageSetting" name="RoleList" :tables="tables" />
  </div>
</template>
<script>
  import { Mixin } from '@/common/minxin/Mixin'
  import { GFCD } from '@/utils/utils'
  import publicPageVue from '../../components/publicPage.vue'
  import RoleList from '../../components/json/RoleList'
  export default {
    name: 'RoleList',
    components: { publicPageVue },
    mixins: [Mixin],
    data() {
      return {
        tables: {
          tableList: [],
          count: 0,
          pageSize: 50,
          limit: 1,
          name: 'RoleList',
          operation: false,
          isNew: true,
        },
        pageSetting: {},
        configSetting: {},
      }
    },
    created() {
      this.init()
    },
    methods: {
      init() {
        this.configSetting = GFCD('dams')
        // this.nowJsonData().then((data) => {
        this.pageSetting = RoleList
        // })
      },
    },
  }
</script>
